package cc3;

public class CcThread extends Thread {
	private String loginName;
	private String cookies;
	private String pet;
	private String money;

	public CcThread() {
	}

	public CcThread(String loginName,String cookies,String pet,String money) {
		this.loginName = loginName;
		this.cookies = cookies;
		this.pet = pet;
		this.money = money;
	}

	// 重载run函数
	public void run() {
		System.out.println("线程启动："+loginName+"$$$$$$$"+pet+"$$$$$$$$$$"+money+"$$$$$$$$$$$$$");
		MyDoor d = new MyDoor();
		d.processCC(loginName,cookies,pet,money);
		System.out.println("线程结束："+loginName+"$$$$$$$"+pet+"$$$$$$$$$$"+money+"$$$$$$$$$$$$$");
	}

	public String getCookies() {
		return cookies;
	}

	public void setCookies(String cookies) {
		this.cookies = cookies;
	}

	public String getPet() {
		return pet;
	}

	public void setPet(String pet) {
		this.pet = pet;
	}

	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}
}
